<template>
  <div>
    <Chart :cdata="cdata"/>
  </div>
</template>

<script>
import Chart from './chart.vue'

export default {
  data() {
    return {
      cdata: {
        // X轴坐标
        category: ["11点", "12点", "13点", "14点", "15点", "16点"],
        // 班级
        lineData: [
          "20级电子商务一班",
          "20级电子商务二班",
          "20级电子商务三班",
          "20级电子商务四班",
          "20级电子商务五班",
          "20级电商一班",
          "20级大数据技术与应用一班",
        ],
        // 人数
        barData: [
          30,
          30,
          30,
          30,
          30,
          30,
        ]
      }
    };
  },
  components: {
    Chart,
  },
  mounted() {
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
</style>
